package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.Date;
import javax.validation.Valid;
import lombok.Data;

/**
 * 经销商主表
 *
 * @author nianhua.jiang
 */
@Data
@ApiModel(value = "经销商")
@TableName(value = "dist_distributor")
public class DistDistributor {

	/** 经销商ID */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "经销商ID")
	private Integer id;
	/** 经销商名称 */
	@TableField(value = "`name`")
	@ApiModelProperty(value = "经销商名称")
	private String name;
	/** 联系方式/登录账号 */
	@TableField(value = "phone")
	@ApiModelProperty(value = "联系方式/登录账号")
	private String phone;
	/** 省 */
	@TableField(value = "province")
	@ApiModelProperty(value = "省")
	private String province;
	/** 市 */
	@TableField(value = "city")
	@ApiModelProperty(value = "市")
	private String city;
	/** 运营商(代理商)ID */
	@TableField(value = "opt_id")
	@ApiModelProperty(value = "运营商(代理商)ID")
	private Integer optId;
	/** 状态(0-启用 1-禁用) */
	@TableField(value = "`status`")
	@ApiModelProperty(value = "状态(0-启用 1-禁用)")
	private String status;
	/** 备注 */
	@TableField(value = "remark")
	@ApiModelProperty(value = "备注")
	private String remark;
	/** 创建时间(添加时间) */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间(添加时间)")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_NAME = "name";

	public static final String COL_PHONE = "phone";

	public static final String COL_PROVINCE = "province";

	public static final String COL_CITY = "city";

	public static final String COL_OPT_ID = "opt_id";

	public static final String COL_STATUS = "status";

	public static final String COL_REMARK = "remark";

	public static final String COL_CREATE_TIME = "create_time";
}